cmake_minimum_required(VERSION 3.4.0)

project(MQTTSDK)
message(STATUS "******************************************************************")
message(STATUS "MQTT CMAKE_SOURCE_DIR->" ${CMAKE_SOURCE_DIR})
message(STATUS "MQTT PROJECT_SOURCE_DIR->)" ${PROJECT_SOURCE_DIR})
message(STATUS "******************************************************************")


message(STATUS "MQTT Compile Platform-> " ${Platform})
#交叉编译工具链信息
include(${PROJECT_SOURCE_DIR}/CMake/Build.cmake)
include(${PROJECT_SOURCE_DIR}/CMake/Toolchains.cmake)

include_directories(${PROJECT_SOURCE_DIR}/Include)
#add_definitions(-DREPOSITORY_VERSION=${GIT_REPO_VERSION})
add_subdirectory(Src)
add_subdirectory(Example)
